<?php
/* use swoole php frame work to run command: /swoole/bin/php.exe swoole_webserver_start.php */
define('ROOT',dirname(__FILE__));
define('DS',DIRECTORY_SEPARATOR);
define('APP_ROOT',ROOT.DS.'application');
require(dirname(__FILE__) . DIRECTORY_SEPARATOR . 'core' . DIRECTORY_SEPARATOR . 'WebServer.php');

\Wosh\WebServer::instance()->run(0);

/* use swoole proxy to run all server in config.php */
//\Wosh\WebServer::instance()->runAll(2);